package com.jd.finance.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jd.finance.core.pojo.entity.Organization;
import com.jd.finance.result.BaseResult;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author LiQingBo
 * @since 2022-05-31
 */
public interface OrganizationService extends IService<Organization> {

    /**
     * 查询所有部门
     *
     * @param uid HRid
     * @return
     */
    BaseResult getAllDepartment(@Param("uid") Integer uid);
}
